﻿using NFine.Application.Biz;
using NFine.Code;
using Quartz;
using System;
using System.Threading.Tasks;

namespace NFine.Web.App_Start._02_Class
{
    public class TimeJob : IJob
    {
        private Log logger = LogFactory.GetLogger("TimeJob");
        public Task Execute(IJobExecutionContext context)
        {
            //System.IO.File.AppendAllText(@"D:\Quartz.txt", DateTime.Now + Environment.NewLine);
            //logger.Debug("发放当天的奖金" + DateTime.Now.ToLocalTime());
            //HuangouIntegralApp app = new HuangouIntegralApp();
           // app.SendHuangouIntegral();
            return Task.FromResult(true);
        }
    }    
}